package cn.gov.msa.service;

import java.util.List;

import org.springframework.stereotype.Service;

import cn.gov.msa.model.Question;
import net.sf.json.JSONObject;


@Service
public interface QuestionService {
	
	
	public List<Question> selectData(int pageNum, int pageSize,Question question);
	
	public List<Question> selectDataq(int pageNum, int pageSize,Question question);
	
	public int updateState(Question question);
	
	public int insertW(Question question);
	
	public int insertq(Question question);
	
	public int delete(Question question);
	
	public int update(Question question);
	
	public int updateq(Question question);
	
	public int deleteq(Question question);
	
	public int insertItem(Question question);
	
	public int deleteItem(Question question);
	
	public int updateItemNum(Question question);

	public JSONObject insert(JSONObject param);

	JSONObject updateData(JSONObject param);
}
